package com.bckj.fastboot.flow.model;

import com.bckj.fastboot.flow.process.BpmnVisitor;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class BpmnSequenceFlow extends BpmnElement {
    private String sourceRef;
    private String targetRef;
    private String expression;
    public BpmnSequenceFlow(String id, String name, String type, String sourceRef, String targetRef) {
        super(id, name, type);
        this.sourceRef = sourceRef;
        this.targetRef = targetRef;
    }

    @Override
    public void accept(BpmnVisitor visitor) {
        visitor.visit(this);
    }
}
